(defun lutts-init-flycheck nil
  (setq flycheck-display-errors-function nil)
  (setq flycheck-python-pycompile-executable "python3")
  (global-flycheck-mode t)
  (add-hook 'evil-leader-mode-hook
            '(lambda () (evil-leader/set-key
                          "cn" 'flycheck-next-error
                          "cp" 'flycheck-previous-error))))

(lutts-load-package 'lutts-init-flycheck 'flycheck)

(provide 'init-flycheck)
